<template>
  <div class="body">
    <el-config-provider :locale="locale">
        <router-view></router-view>        
    </el-config-provider>

  </div>
</template>

<script setup>
    import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
    import { ref } from "vue";

    const locale = ref(zhCn)
</script>

<style lang='scss' scoped>
  .body{
    width: 100vw;
    height: 100vh;
  }
</style>
